<%@ include file="/en/jsp/static.jsp" %>
<%@ page import="java.util.*" %>
<%@ page import="linuxbox.admin.logic.*" %>
<%@ taglib uri="/linuxbox/UserAdmin.tld" prefix="user" %>

<%
  List userList = (List)request.getAttribute("USER_LIST");
%>
<jsp:include page="/en/jsp/header.jsp" flush="true"/>

<table width="100%" height=26 align=middle border=0 cellpadding=0 cellspacing=0 bgcolor="#f4f4f4" style="font-size:16px;color:#d05000">
<tr><td>
    &nbsp;<img src="<%=BoxStatic.imageDir%>itemball.jpg" width=14 height=15 border=0 align="absmiddle">
    <b><%=boxName%> - User Information</b>
</td></tr>
</table>
<br>

  <table width="100%">
  <tr><td>
    &nbsp;<img src="<%=BoxStatic.imageDir%>smallnote.gif" width=16 height=15 border=0 align=top>
    <b>User Search Result</b>
  </td></tr>
  </table><br>

  <TABLE class="t1" WIDTH="98%" BORDER=0 CELLSPACING=1 CELLPADDING=0>
    <TR bgcolor=silver>
    <TH>Name</TH>
    <TH>Phone</TH>
    <TH>Email</TH>
    <TH>Department</TH>
    </TR>

  <% int i = 0;
  for (Iterator it = userList.iterator(); it.hasNext(); ) {
    if ((i % 2) != 0) { %>
      <TR bgcolor="#E0E0E0">
    <% } else { %>
      <TR>
      <% }


    User user = (User)it.next(); %>
    <TD><A href="<%=BoxStatic.servletDir%>UserShowAction?USER_ID=<%=user.getID()%>">
        <%=user.getFirstName()%> , <%=user.getLastName()%></A></TD>
    <TD><%=user.getPhone()%></TD>
    <TD><%=user.getEmail()%></TD>
    <TD><%=user.getDeptName()%></TD>
    </TR>
      <% i++;
  }
    %>
  </TABLE>
<jsp:include page="/en/jsp/footer.jsp" flush="true"/>
